<template>
	<view class="p30">
		<view class="p20 mb20 radius20 bg-fff flex"
			@click="$jump('/pages/index/demo/downOrder',{...$params,service_id:item.id})" v-for="(item,index) in list"
			:key="index">
			<view class="">
				<image :src="item.icon" class="w120 h120" mode=""></image>
			</view>
			<view class="ml20 flex1 ov-h als-s flex-col row-between">
				<view class="line-1">{{item.name}}</view>
				<view class="line-2  fs26 color-999">覆盖了客户进入医覆盖了客户进入医院全天就诊全过程院全天就诊全过程</view>
			</view>
			<u-icon name="arrow-right"></u-icon>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: '',
				page: 1
			};
		},
		onShow() {
			this.getList()
		},
		onReachBottom() {
			// this.getList('down')
			// introduce
		},
		methods: {
			getList(e) {
				e == 'down' ? this.page++ : this.page = 1
				this.$request('/master/my/service', this.$params).then(res => {
					let list = res.data
					e == 'down' ? this.list.push(...list) : this.list = list
				})
			}
		}
	}
</script>

<style lang="scss">

</style>